package cn.edu.sjtu.se.dslab.dao;

import java.util.List;

import cn.edu.sjtu.se.dslab.component.method.MethodComponent;
import cn.edu.sjtu.se.dslab.project.Project;
import cn.edu.sjtu.se.dslab.project.ProjectMethod;

public interface IProjectMethodDao {

	public List<ProjectMethod> getListByProject(Project project);
	
	public List<ProjectMethod> getListByMethodComponent(MethodComponent methodComponent);
	
	public void save(ProjectMethod userProject);
	
	public boolean delete(ProjectMethod userProject);
	
	public boolean deleteById(long id);
	
	public boolean update(ProjectMethod userProject);
	
	//public PageBean<ProjectMethod> getPageBeanByProject(int pageNo,Project project) throws DBException;
}
